﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.Models
{
    /// <summary>
    /// eazy_checked:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class eazy_checked
    {
        public eazy_checked()
        { }
        #region Model
        private int _id;
        private string _b_name;
        private string _b_mobile;
        private string _b_address;
        private string _b_business;
        private string _b_represent;
        private string _j_witnessed;
        private string _j_company;
        private string _c_name1;
        private string _c_code1;
        private string _c_name2;
        private string _c_code2;
        private DateTime? _s_time = null;
        private DateTime? _e_time = null;
        private string _projects;
        private string _content;
        private string _result;
        private string _b_suggest;
        private string _j_suggest;
        private string _w_signature;
        private string _b_signature;
        private string _j_signature;
        private string _z_signature;
        private DateTime _add_time = DateTime.Now;
        private int _instance_id = 0;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 被检查单位（人）
        /// </summary>
        public string b_name
        {
            set { _b_name = value; }
            get { return _b_name; }
        }
        /// <summary>
        /// 电话
        /// </summary>
        public string b_mobile
        {
            set { _b_mobile = value; }
            get { return _b_mobile; }
        }
        /// <summary>
        /// 地址
        /// </summary>
        public string b_address
        {
            set { _b_address = value; }
            get { return _b_address; }
        }
        /// <summary>
        /// 营业执照编号
        /// </summary>
        public string b_business
        {
            set { _b_business = value; }
            get { return _b_business; }
        }
        /// <summary>
        /// 法定代表人
        /// </summary>
        public string b_represent
        {
            set { _b_represent = value; }
            get { return _b_represent; }
        }
        /// <summary>
        /// 见证人
        /// </summary>
        public string j_witnessed
        {
            set { _j_witnessed = value; }
            get { return _j_witnessed; }
        }
        /// <summary>
        /// 单位或住所
        /// </summary>
        public string j_company
        {
            set { _j_company = value; }
            get { return _j_company; }
        }
        /// <summary>
        /// 检查人1
        /// </summary>
        public string c_name1
        {
            set { _c_name1 = value; }
            get { return _c_name1; }
        }
        /// <summary>
        /// 证件号1
        /// </summary>
        public string c_code1
        {
            set { _c_code1 = value; }
            get { return _c_code1; }
        }
        /// <summary>
        /// 检查人2
        /// </summary>
        public string c_name2
        {
            set { _c_name2 = value; }
            get { return _c_name2; }
        }
        /// <summary>
        /// 证件号2
        /// </summary>
        public string c_code2
        {
            set { _c_code2 = value; }
            get { return _c_code2; }
        }
        /// <summary>
        /// 检查开始时间
        /// </summary>
        public DateTime? s_time
        {
            set { _s_time = value; }
            get { return _s_time; }
        }
        /// <summary>
        /// 检查结束时间
        /// </summary>
        public DateTime? e_time
        {
            set { _e_time = value; }
            get { return _e_time; }
        }
        /// <summary>
        /// 检查项目
        /// </summary>
        public string projects
        {
            set { _projects = value; }
            get { return _projects; }
        }
        /// <summary>
        /// 检查过程描述
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 检查结果及处理意见
        /// </summary>
        public string result
        {
            set { _result = value; }
            get { return _result; }
        }
        /// <summary>
        /// 被检查单位（人）意见
        /// </summary>
        public string b_suggest
        {
            set { _b_suggest = value; }
            get { return _b_suggest; }
        }
        /// <summary>
        /// 见证人意见意见
        /// </summary>
        public string j_suggest
        {
            set { _j_suggest = value; }
            get { return _j_suggest; }
        }
        /// <summary>
        /// 见证人签名
        /// </summary>
        public string w_signature
        {
            set { _w_signature = value; }
            get { return _w_signature; }
        }
        /// <summary>
        /// 被检查单位（人）签名
        /// </summary>
        public string b_signature
        {
            set { _b_signature = value; }
            get { return _b_signature; }
        }
        /// <summary>
        /// 记录人签名
        /// </summary>
        public string j_signature
        {
            set { _j_signature = value; }
            get { return _j_signature; }
        }
        /// <summary>
        /// 执法人签名
        /// </summary>
        public string z_signature
        {
            set { _z_signature = value; }
            get { return _z_signature; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
        ///<summary>
        ///实例ID
        /// </summary>
        public int instance_id
        {
            set { _instance_id = value; }
            get { return _instance_id; }
        }

        private List<case_attach> _attach;
        public List<case_attach> attach
        {
            set { _attach = value; }
            get { return _attach; }
        }
        #endregion
    }
}
